package org.example.myleet.p859;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(solution.buddyStrings("ab", "ba"));
        Assert.isTrue(!solution.buddyStrings("ab", "ab"));
        Assert.isTrue(solution.buddyStrings("aa", "aa"));
        Assert.isTrue(solution.buddyStrings("aaaaaaabc", "aaaaaaacb"));
        Assert.isTrue(!solution.buddyStrings("aaacaaabc", "aaaaaaacb"));
        Assert.isTrue(solution.buddyStrings("aab", "aab"));
        Assert.isTrue(solution.buddyStrings("aba", "aba"));
        Assert.isTrue(!solution.buddyStrings("abaacfg", "abadcrt"));
    }
}
